import request from '@/utils/request'

// 查询企业详细
export function getCompany(id) {
  return request({
    url: '/ec/company/' + id,
    method: 'get'
  })
}

// 查询登录企业详细
export function getCompanyInfo() {
  return request({
    url: '/ec/company/getCompanyInfo',
    method: 'get'
  })
}

// 根据企业id 查询企业是否认证
export function isCertCompany(ids) {
  return request({
    url: '/ec/company/isCert',
    method: 'post',
    data: ids
  })
}
